package oop3.pet01;

public class Cat extends Pet {
    Cat(String name, int weight, int age, char sex, String strain, int love) {
        super(name, weight, age, sex, strain, love);
    }

    public void grab(String mouse) {
        System.out.println("猫咪"+super.getName() + "抓住了老鼠" + mouse);
    }

    public void climb() {
        System.out.println("猫咪" + super.getName() + "在爬树");
    }

}
